QT -= gui
QT += network

TEMPLATE = lib
DEFINES += NETWORKMGR_LIBRARY

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    HttpWorker.cpp \
    NetWorkerDef.cpp \
    networkmgr.cpp

HEADERS += \
    HttpWorker.h \
    NetWorkMgr_global.h \
    NetWorkerDef.h \
    networkmgr.h


# 设置动态库输出目录（与主项目同级）
DESTDIR = $$PWD/../bin  # 统一输出到bin目录



# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
